package com.seecoder.BlueWhale.service;

import com.seecoder.BlueWhale.vo.CommentVO;
import com.seecoder.BlueWhale.vo.OrderVO;
import com.seecoder.BlueWhale.vo.PageVO;
import com.seecoder.BlueWhale.vo.PayParams;

import javax.servlet.http.HttpServletResponse;

public interface OrderService {
    OrderVO create(OrderVO orderVO);

    Boolean pay(PayParams params, HttpServletResponse httpServletResponse);

    Boolean dispatch(Integer orderID);

    Boolean receive(Integer orderID);

    PageVO<OrderVO> info(int page, int pageSz);

    CommentVO comment(CommentVO commentVO);

    OrderVO infoSingle(int id);

    CommentVO getComment(int id);

    String getExcel();
}
